package org.docmanagement.commons;

/**
 * Created on 16 oct. 2004
 * @author Mektoub
 */
public interface Constants
{
    public static final String 	CATEGORY_KEY = "categoryForm";
    public static final String 	CATEGORY_LIST_KEY = "categorylist";
	public static final char 	CATEGORY_SEPARATOR = '.';

    public static final String 	KEYWORD_KEY = "keywordForm";
    public static final String 	KEYWORD_LIST_KEY = "keywordlist";

    public static final String 	ELEMENT_KEY = "elementForm";
    public static final String 	ELEMENT_LIST_KEY = "elementlist";

    public static final String 	TODO_KEY = "todoForm";
    public static final String 	TODO_LIST_KEY = "todolist";
    
    public static final String	RELOAD_CATEGORY_TREE = "reloadCategoryTree";
    public static final String	CONFIGURATION_KEY = "configurationForm";

    public static final String 	SUCCESS = "success";
    public static final String 	ERROR = "error";
    public static final String 	ADD = "add";
    public static final String 	EDIT = "edit";
    public static final String 	LIST = "list";
    public static final String 	SHOW = "show";
    public static final String 	VIEW = "view";
    public static final String 	REMOVE = "remove";
    public static final String 	SEARCH = "search";

	public final static char LINK_TYPE = 'L';
	public final static char FILE_TYPE = 'F';
	public final static char BOOK_TYPE = 'B';
	
	public final static int TODO_STARTED = 0;
	public final static int TODO_FINISHED = 1;

	public final static String TODO_STARTED_STRING = "Started";
	public final static String TODO_FINISHED_STRING = "Finished";
}
